--[[

	GModRP - Real Garry's Mod Roleplay.
			By Slob187.
		

]]


timer.Create( "randomFireTimer", Configuration["randomfireint"], 0, function()

	local pPhys = ents.FindByClass( "prop_physics" )
	
	if ( #pPhys > 0 ) then
	
		local rPPhys = pPhys[ math.random( #pPhys ) ]
		
		if ( !rPPhys:IsOnFire() ) then
		
			rPPhys:Ignite( 30, 0 )
			
		end
		
	end	
	
end )	